<template>
    <div class="absolute inset-0 top-16 flex flex-col flex-nowrap ">
        <div @click="router.push({name:routeList[0]})" class="py-3 px-8 text-center text-lg  font-extrabold logo-color bright-hover cursor-pointer select-none">
            首页
        </div>
        <div @click="router.push({name:routeList[1]})" class="py-3 px-8 text-center text-lg  font-extrabold logo-color bright-hover cursor-pointer select-none">
            我的数据集
        </div>
        <div @click="router.push({name:routeList[2]})" class="py-3 px-8 text-center text-lg  font-extrabold logo-color bright-hover cursor-pointer select-none">
            个人管理
        </div>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter()

const routeList = ["Home","BatchManage","userControl"]
</script>

<style>
.logo-color{
    color:#eee;
}
.bright-hover{
    transition: all .3s;
}
.bright-hover:hover{
    
    color: #35bfff;
    background-color: rgba(255,255,255,.1);
}
</style>